Loading...
 

CX_CORPORATION - Company

CX_CORPORATION

Class hierarchy
Description(Business Pattern)

This class manages a legal person or company.

In addition to data such as name, legal form or VAT ID, the following attributes play a special role:

  • locations: Any number of connection paths (= addresses) to a company can be specified (location information or telecommunication paths)
  • casts: A company can have any properties, multiple entries of the same property are permitted (e.g. interested parties for different article groups)
  • employees: A company can have any number of employees
  • conditions: Any number of condition objects can be assigned to a company. This property is inherited from the class CX_BUSINESS_OBJECT. Conditions that are globally valid for a company should therefore be entered here. Conditions that are only in connection with a certain property should only be assigned to the corresponding property object (property objects also have the attribute conditions)
  • clearingObjects: Any number of accounting objects can be assigned to a company. This property is inherited from the class CX_REAL_OBJECT. Settlements that are globally valid for a company should therefore be entered here. Settlements that are only related to a certain property should only be assigned to the corresponding property object. (Property objects also have the attribute clearingObjects)
Code example:
...

List of methods (MDI)
Function MA* Parameters Return Brief description
SanityCheck INTEGER Check for consistency of the object
Access STRING OBJECT Returns access object of the desired type (result is the first object found)
AllAccess STRING, INTEGER VECTOR

197549

COLLECTION

Returns access object of the desired type (result is all objects found)
Address OBJECT Delivers the address
Birthday Index INTEGER Birthday in days
CastedStructureByCondition STRING OBJECT
ClassFilter STRING, INTEGER OBJECT This object, if it corresponds to a certain class
ClearingObject STRING, INTEGER OBJECT First assignment to settlement objects
ClearingObjectMA * STRING, INTEGER Assignments to settlement objects
ConditionedFilter STRING OBJECT
ConditionedFilter2 OBJECT OBJECT
ConnectStateStructure OBJECT, STRING Connect to the status structure
Customer OBJECT Delivers billing object "Customer" (CX_CUSTOMER)
CyberEnterprise OBJECT Delivers billing object "client" (CX_CYBER_ENTERPRISE)
Deleted INTEGER Object marked as deleted?
Description STRING Name of this object
Employee OBJECT Delivers payroll object "employee" (CX_EMPLOYEE)
EmployeeByFirstChoiceOfCE OBJECT Delivers accounting object "Employee" (CX_EMPLOYEE), who is (if possible) employed by the current client
EmployeeOfCE OBJECT Delivers accounting object "employee" (CX_EMPLOYEE), who is employed by the current client
Employees INTEGER, INTEGER COLLECTION All workers of a certain type
EvaluateTotalMonitors STRING, INTEGER, STRING OBJECT ?
Fax OBJECT Returns the fax number
FirstName STRING Return first name
Flextimer OBJECT Delivers payroll object "Flexitime employees" (CX_FLEXTIMER)
ForceMonitor STRING OBJECT ?
GeographicPosition OBJECT Returns the geographical position
GetDomain INTEGER Domain of this object
GetSiblings COLLECTION All siblings of this object
GetSiblings2 COLLECTION All siblings of this object
GetSlotEntries VECTOR<object>/ob Return of internal information about slots
GetStructure OBJECT OBJECT Search for a subordinate structure that belongs to the same hierarchy
InsertMonitor OBJECT ?
LastUpdate OBJECT Date of the last write access
LastUser INTEGER User who last had write access to the object
link OBJECT Add this object to the list of objects with validity
MasterObject OBJECT ?
Monitor STRING OBJECT ?
Name INTEGER STRING Return name formatted
NextValidObject OBJECT Subsequent validity object in time
Phone OBJECT Returns the phone number
POBoxAddress OBJECT Delivers the letterbox address
PreviousValidObject OBJECT Previous validity object in time
RegisteredStructure OBJECT ?
RegisterStructure OBJECT ?
RegisterStructures OBJECT ?
RemoveMonitor OBJECT ?
RemoveStateStructure STRING Find status structure by uniqueID and disconnect
Representative OBJECT Delivers billing object "Representative" (CX_REPRESENTATIVE)
RestrictedValidity * Area of validity limited?
SalaryMan OBJECT Delivers settlement object "Salary recipient" (CX_SALARY_MAN)
SetDomain INTEGER, INTEGER Set domain
SetStructure OBJECT Ensures that a structure becomes a subordinate structure
SexTitle INTEGER STRING Return salutation
ShortName STRING Short name of this object
Siblings * Objects with validity
Site OBJECT Delivers the pitch
SpanDateValidity * Period of validity
Speech INTEGER, INTEGER, INTEGER STRING Create complete salutation
StateStructure STRING OBJECT Find status structure after uniqueID (STRING) (not wrapped)
StateStructureWrapper STRING OBJECT Find status structure by uniqueID
StreetAddress OBJECT Returns the street address
string INTEGER CX_STRING Returns the string representation of the object
StructureByCondition STRING OBJECT Subordinate structure with a specific condition
StructureByID STRING OBJECT Subordinate structure with a certain unique key
StructureByIDMA * STRING Subordinate structures with a certain unique key
StructureByType STRING, INTEGER OBJECT Subordinate structure of a certain type
SubObjects INTEGER COLLECTION ?
Supplier OBJECT Delivers settlement object "Supplier" (CX_SUPPLIER)
Teletex OBJECT Returns the teletex number
Telex OBJECT Delivers the telex number
Title STRING Return title
TotalMonitors STRING, INTEGER, STRING OBJECT ?
TriggeredStateStructure STRING OBJECT Attempts to advance the status structure and returns the new status structure (not wrapped)
TriggeredStateStructureWrapper STRING OBJECT Attempts to advance the status structure and returns the new status structure (wrapped)
TriggerStateStructures Switches all status structures forward
UniqueID STRING Content of the fixed data field "uniqueID
Unlink Remove this object from the list of objects with validity
Unlink2 Remove this object from the list of objects with validity
User OBJECT Returns billing object "User" (CX_USER)
Valid OBJECT INTEGER Check validity
ValidSince OBJECT Start of validity period
ValidToday INTEGER Valid today?
ValidUntil OBJECT End of validity period
VerifySiblings INTEGER Check ring of exchange objects

* MA = Member Access function,
grey background = inherited function

Data directory (DDI)
Data field Type Reference class I* Brief description
access REL_MN CX_ACCESS Communication accesses
allocations REL_MN CX_EXPANDABLE ?
clearingObjects REL_MN CX_CLEARING_OBJECT Payroll accounting areas
employees REL_M1 CX_EMPLOYEE Employees of the company
generalTerms REL_1M CX_GENERAL_TERMS ?
languageEnum ENUMCHAR Internal number of the national language
legalFormEnum ENUMCHAR Legal form: 0=no, 1=individual company, 2=GmbH, 3=KG, 4=GmbH & Co. KG, 5=AG, 6=GbR, 7=health insurance, 8=professional association (see legalFormEnum in classix.num)
legalRegistrationID STRING * Register number
monitors REL_MN CX_MONITOR ?
name STRING * Name
partnerControl INTEGER ?
structures REL_MN CX_EXPANDABLE Organisational Structures
uniqueID STRING * Unique key
validity POINTER CX_VALIDITY Validity period of the object
vatID STRING VAT ID number (EU)

* I = Indexable data field,
grey background = inherited data field

Use in AppsWH
Module Brief description
custoedt.mod Customer editing module
repreedt.mod Representative editing module